home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / misc / unix / NetBSD_info.lzh / NetBSD-Amiga.FAQ < prev    next >
Encoding:
Text File  |  1994-04-16  |  53.8 KB  |  2,443 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                         Amiga-NetBSD-FAQ
  23.  
  24.  
  25.                         11. January 1994
  26.  
  27.  
  28.                        Guenther Grau, et al
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. 2                                           FAQ-Amiga-NetBSD
  71.  
  72.  
  73. Copyright c 1993
  74.  
  75.      Started  by  Mike   Schwartz   (mykes@shell.portal.com)
  76. (mykes@irc)
  77.  
  78.      Idea   of   using    Texinfo    by    Carsten    Hammer
  79. (chammer@dave.hrz.uni-bielefeld.de) (chammer@irc)
  80.  
  81.      Working Texinfo, additions and corrections by  Guenther
  82. Grau (s_grau@ira.uka.de) (Maeuschen@irc)
  83.  
  84.      Current FAQ author is Guenther Grau (s_grau@ira.uka.de)
  85. (Maeuschen@irc).
  86.  
  87.      NetBSD-Amiga  was  ported  by  Markus  Wild   (mtk@irc)
  88. (mw@eunet.ch)
  89.  
  90.      Copyright (C) 1993, 1994 Guenther Grau
  91.  
  92.      Permission is granted to make and  distribute  verbatim
  93. copies of this manual provided the copyright notice and this
  94. permission notice are preserved on all copies.
  95.  
  96.      Permission is granted to copy and  distribute  transla-
  97. tions  of this manual into another language, under the above
  98. conditions for modified versions, except that  this  permis-
  99. sion notice may be stated in a translation approved by Guen-
  100. ther Grau (s_grau@ira.uka.de).
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. FAQ-Amiga-NetBSD                                           3
  137.  
  138.  
  139. 1.  Introduction
  140.  
  141.  
  142.      Welcome to the NetBSD-Amiga-FAQ.
  143.  
  144.      This FAQ was composed to reduce the traffic on the  net
  145. and  to  avoid  people asking the same questions repeatedly,
  146. just as any other FAQ.  Please write all  comments,  sugges-
  147. tions, etc. to the current maintainter of the FAQ. This will
  148. help to keep this FAQ up-to-date and useful. Thank  you  for
  149. reading  the  FAQ, because that's why I put so many hours of
  150. work into it:-)
  151.  
  152.      It should be clear at this point that  we  are  talking
  153. about  the  port of NetBSD  to the Amiga. Therefore whenever
  154. NetBSD is mentioned, it is only an abbreviation for  NetBSD-
  155. Amiga, except stated otherwise.
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. 4                                           FAQ-Amiga-NetBSD
  203.  
  204.  
  205. 2.  General things
  206.  
  207.  
  208.      This chapter contains general information about NetBSD.
  209.  
  210.  
  211.  
  212. 2.1.  The name of the game: What is NetBSD?
  213.  
  214.  
  215.      NetBSD is a Unix-like  operating  system.  It  is  very
  216. portable  and  runs  on very different architektures such as
  217. Amiga, HP, Mac, Sun, PC, ...  It is developed by people  all
  218. around  the world on the Net. Therefore it is called NetBSD.
  219. For a complete description of a Unix-like operating  system,
  220. please  refer  to  some  books  about unix or get any of the
  221. comp.unix.* Newsgroups FAQ.
  222.  
  223.  
  224. 2.2.  Who is working on the port?
  225.  
  226.  
  227.      NetBSD was ported to the Amiga by mtk, Markus Wild, who
  228. also  ported GCC to AmigaDOS and who did the ixemul.library.
  229. Somehow he has an uncanny knack of diving into massive  pro-
  230. jects  done by other people and making them work well on the
  231. amiga! Once NEtBSD-Amiga was useable, a lot of people joined
  232. in  and  contributed  a  lot to the project. I don't want to
  233. list any names, because I am sure I would forget some  brave
  234. soul.  Maybe I try to set up a complete list later.
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. FAQ-Amiga-NetBSD                                           5
  269.  
  270.  
  271. 3.  What do I need to run NetBSD
  272.  
  273.  
  274.  
  275.      This chapter describes the hardware related  topics  of
  276. NetBSD.  It  will explain, what kind of hardware you need to
  277. be able to run NetBSD.
  278.  
  279.  
  280.  
  281. 3.1.  What kind of Amigas will it run on?
  282.  
  283.  
  284.  
  285.      There are three major  requirements  your  system  must
  286. fulfill  to be able to run NetBSD. You must have an apropri-
  287. ate cpu, enough memory and enough harddiskspace for NetBSD.
  288.  
  289.  
  290.  
  291. 3.1.1.  Which cpu is needed?
  292.  
  293.  
  294.      It depends heavily on the type of cpu your system  has,
  295. whether  NetBSD runs on your Amiga or if it doesn't. NetBSD,
  296. as any other modern Unix-derivate, too, must have a  memory-
  297. management-unit  (MMU)  to be able to run. This is needed as
  298. all the processes that run under  Unix  are  separated  from
  299. each others, so no process can do any harm to any other.
  300.  
  301.      If your system is equipped with one  of  the  following
  302. cpu's you have the possibility to run NetBSD:
  303.  
  304.  
  305. 68020 with 68851 (MMU)
  306.  
  307. 68030
  308.  
  309. 68040
  310.  
  311.      Note: It is very important that  you  have  the  _real_
  312. cpu's,  i.e.  no EC-version, or whatever. These versions are
  313. missing the MMU-part of the cheap and are therefore cheaper.
  314. It  is  not  possible  to  simply add a 68851 (MMU) to these
  315. chips. You have to replace your cpu,  if  possible,  or  you
  316. have  to  buy  a  cpu-board  equipped with one of the 'real'
  317. cpu's mentioned above to be able to run NetBSD.
  318.  
  319.      NetBSD is known to run on A500,  A2000  and  A4000/EC30
  320. equipped  with additional processor boards that have one oth
  321. the abouve CPUs. It runs on stock A3000 and A4000/40.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. 6                                           FAQ-Amiga-NetBSD
  335.  
  336.  
  337. 3.1.2.  How much memory do I need?
  338.  
  339.  
  340.      Theoretically, you only need 2MB of fast RAM and 1MB of
  341. chip.  The  need  for  chipmemory  is  only  needed  for the
  342. startup, so if someone rewrites the program that  loads  the
  343. kernel  into  the memory and starts it, it would be possible
  344. to boot the kernel with 512KB-CHIP-RAM. Currently the kernel
  345. is loaded into the chipmemory and then copied into the larg-
  346. est chunk of fast memory found. Therefore 2MB  is  the  bare
  347. minimun  and  will  not allow you to do anything useful, but
  348. booting. It is possible to run NetBSD, in such a low  memory
  349. situation,  because  it  uses  a  mechanism named Paging. It
  350. writes currently unused parts of programs to the disk,  thus
  351. freeing some memory for other parts. Writing to disk is very
  352. slow, compared to the execution of programs  in  memory,  so
  353. the  system  will  be  to slow to be useable. So, to have an
  354. actual useable system, you  should  have  at  least  4MB  of
  355. FAST-RAM, preferably more. When you want to use X-Windows, a
  356. graphical user interface on top of NetBSD, you probably need
  357. about 6MB or even more to do anything useful.
  358.  
  359.  
  360. 3.1.3.  How much diskspace do I need?
  361.  
  362.  
  363.      8MB of hard disk space will theoretically be sufficient
  364. to  boot  NetBSD,  but again a lot more is needed to do any-
  365. thing useful. So, in practice, or to really use NetBSD,  you
  366. will  need at least 100M of hard disk, and even more is pre-
  367. fered.
  368.  
  369.      You will need about twice your RAM amount  just  for  a
  370. swap  partition  on  your drive, that is where NetBSD writes
  371. the parts of programs which are currently not used  to  free
  372. up some memory for other programs.
  373.  
  374.  
  375. 3.1.4.  What other hardware requirements are there?
  376.  
  377.  
  378.      As mentioned earlier, there are no  other  requirements
  379. for  speacial  hardware.  You  can use any other device with
  380. NetBSD, provided the device is already supported by  NetBSD.
  381. In  general  it  should  be  possible to support any kind of
  382. hardware, but the need of the technical inforamtion  on  the
  383. hardware to be supported is sometimes hard to obtain, but it
  384. is even harder to find someone who has  the  knowledge,  the
  385. will  and  the  time  to  actually  write a piece of special
  386. software for NetBSD to support the device, called a  device-
  387. driver.
  388.  
  389.      To actually find out, which devices  are  already  sup-
  390. ported,  see  the  file "compatibility-list" that comes with
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. FAQ-Amiga-NetBSD                                           7
  401.  
  402.  
  403. the documentation from NetBSD.
  404.  
  405.      A tape drive is recommended  for  NetBSD,  as  for  any
  406. other operating system, too. You should do regularly backups
  407. in order to be able to  restore  the  data  you  might  have
  408. accidentially  destroyed.  Especially  when  you  are  doing
  409. kernel-development, chances are, that  you  may  trash  your
  410. harddisk.  The  system  is  normally  quite stable, so doing
  411. backups is not a must, but you should do it.
  412.  
  413.      A modem is recommended, too, in order  to  be  able  to
  414. connect  to the internet or at least send some mail to other
  415. NetBSD-users. This will enable  you  to  obtain  the  latest
  416. updates and discussions on NetBSD.
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. 8                                           FAQ-Amiga-NetBSD
  467.  
  468.  
  469. 4.  What about building the kernel myself?
  470.  
  471.  
  472.      Theoreticall you have two options here. You  can  build
  473. the  kernel  under  AmigaOS  or  under NetBSD itself. In the
  474. beginning of the development, NetBSD was compiled under Ami-
  475. gaOS, of course, but now almost everybody works under NetBSD
  476. itself. It is highly recommended that you build  the  kernel
  477. under  NetBSD,  because  you  save  a lot of HD-space on the
  478. Amiga side and, the more important reason,  the  possibility
  479. that  other  developers  can help you with the problems that
  480. might occur is much higher.
  481.  
  482.      You  will  need  to  get   the   current   version   of
  483. bsdsyssrc.720.tar.gz  file from the ftp site and put it onto
  484. one of the NetBSD-partitions.
  485.  
  486.      You will need at least 7Megs of room on your /usr  par-
  487. tition.   If you don't have enough room, you can use a soft-
  488. link to put the usr/src/sys subdir on a different partition.
  489. See  question  "How do I use softlinks" for more information
  490. on softlinks.
  491.  
  492.  
  493.      The details are in the RECOMPILE text file of  what  to
  494. change.   You  also need to edit the Makefile.amiga file and
  495. put correct path to the gcc compiler in it.  Change the CPP=
  496. line to read
  497.  
  498. CPP=/usr/gnu/lib/gcc-lib/netbsdamiga/2.4.5/cpp -traditional
  499.      You also need to get a bsd version of the  config  pro-
  500.      gram, which is on the ftp.eunet.ch ftp site.  Copy this
  501.      config binary into /usr/sbin.  Then type:
  502.  
  503. config AMIGA
  504.  
  505. cd ../compile/AMIGA
  506.  
  507. make Good  luck.   Building  stuff  like  this  from   other
  508.      environments is not that big a deal.  You will get com-
  509.      pile errors - just  use  your  editor  and  fix  what's
  510.      wrong.   A  good  rule  to remember is that 100% of the
  511.      code has been compiled before and it  works  when  com-
  512.      piled :-)
  513.  
  514.      Since kernel version 490 NetBSD is able to boot  a  new
  515.      kernel from NetBSD.  just do:
  516.  
  517. mknod /dev/reboot c 2 20
  518.  
  519. cp vmunix.* /dev/reboot
  520.      Then  it  should  load  the  kernelimage  vmunix.*  and
  521.      reboot.
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. FAQ-Amiga-NetBSD                                           9
  533.  
  534.  
  535. 5.  NetBSD - Linux - Amiga-Unix - Minix
  536.  
  537.  
  538.      Currently there are four possibilies to run Unix on the
  539. Amiga.
  540.  
  541.      The first one was Amiga-Unix. This is a commercial unix
  542. from Commodore. It is neither sold nor supported any more.
  543.  
  544.      The second unix on the Amiga was Minix from A.S. Tanen-
  545. baum,  a  very famous operating system professor. It runs on
  546. every Amiga and does not support memory protection and  some
  547. other  features  needed  to get the real unix feeling. It is
  548. commercial, too. It's major aim is to be an operating system
  549. to  play around with. It was developed for the computer sci-
  550. ence students Tanenbaum held lectures for.
  551.  
  552.      The third available unix on the Amiga  was  NetBSD.  It
  553. gives  you  almost  anything you might want to expect from a
  554. free unix clone. It  runs  quite  stable.  NetBSD  is  being
  555. developed  on several platform, which gives it a large back-
  556. ground of supporters. All users will benefit  from  platform
  557. independent  changes  made  to  it. It was designed to be as
  558. portable as possible.  Currently  there  are  ports  to  the
  559. Amiga,  Intel-based  PCs,  HP-300 (680x0)-based, Macs, Sun3,
  560. Sun-Sparcs and some other platforms. NetBSD-Amiga was  added
  561. a  binary-compatibility-mode  for  sun3-binaries. Of course,
  562. this  means  only  binary-compatibel  with   static   linked
  563. binaries. This shows some of the possibilities of NetBSD. If
  564. we are going to have  the  same  shared  libraries  on  both
  565. sides,  running  shared  linked  binaries will eventually be
  566. possible, too. Markus Wild reports, that he is already  able
  567. to  run  a  sun3-compiled  emacs on NetBSD.  NetBSD-Amiga is
  568. based on the NetBSD-current sources  and  is  updated  regu-
  569. larly.  Any  changes made to the sources will go back to the
  570. NetBSD-current source tree,  so  that  future  distributions
  571. contains  these changes. A lot of changes made in the 4.4BSD
  572. are already incoorporated into NetBSD, some others are still
  573. to  come.  NetBSD  contains  a  lot of other fancy features,
  574. other unix-based operating systems are  missing,  e.g.  cpu-
  575. time- or quotas. NetBSD is copyrighted software, but you are
  576. free to use, modify and distribute it. Note that it  is  NOT
  577. under  the GPL (General Public License, the Gnu Cpoyright (-
  578. left)) and the developers of NetBSD want  it  to  keep  this
  579. state.  Therefore it is not possible to include any software
  580. which is under the GPL into the kernel. NetBSD is  available
  581. in  source,  but anybody is free to take the current sources
  582. and provide them together with his own  binaries,  i.e.  you
  583. don't  have  to  provide  the sources of your own work. This
  584. offer the opportunity for software  developer  to  keep  the
  585. sources  of  the  programms  they sell. This is not possible
  586. under GPL, where you must provide the source.
  587.  
  588.      The forth available unix on the Amiga is Linux. It  was
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. 10                                          FAQ-Amiga-NetBSD
  599.  
  600.  
  601. designed  to  run  on  Intel-based PCs. However, Hamish Mac-
  602. Donald did a major rewrite of the sources, so that it is now
  603. possible  to  run Linux on the Amiga. It adopted the NetBSD-
  604. SCSI-driver for the  hd's  and  is  now  quite  useable.  It
  605. already  contains a floppy-driver, although this is not com-
  606. pletly functional yet. Everybody  has  to  decide  by  them-
  607. selves, which unix is best for them. For now I can say, that
  608. using NetBSD is the best way to go, as Linux still has  some
  609. more  nasty  bugs  in  it  and is missing a lot of the func-
  610. tionality you might want to use, but this can change in  the
  611. future.  A criteria for the decision can be that Linux tries
  612. to be Posix compliant, whereas NetBSD  tries  to  act  as  a
  613. BSD-system,  of  course.  I  cannot  say  anything about the
  614. future development of the two.
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. FAQ-Amiga-NetBSD                                          11
  665.  
  666.  
  667. 6.  Frequently Asked Questions and their answers
  668.  
  669.  
  670.  
  671.  
  672.  
  673. 6.1.  How do I get NetBSD?
  674.  
  675.  
  676.      The   primary   distribution   site   of   NetBSD    is
  677. ftp.eunet.ch.  You can ftp to there and get the all the docs
  678. in /pub/NetBSD/incoming/DOCS. This is were the  latest  ver-
  679. sions of all the NetBSD-Amiga related docs can be found.
  680.  
  681.  
  682. 6.2.  How do I install it?
  683.  
  684.  
  685.      Get  the  file  "NetBSD.Install.720"  and  follow   its
  686. instructions.  See 'How do I get NetBSD' for instructions on
  687. where to find it.
  688.  
  689.  
  690. 6.3.  Does NetBSD support my device?
  691.  
  692.  
  693.      The  file  "compatibility-list"  that  comes  with  the
  694. NetBSD distribution contains all the gathered information on
  695. the devices that work with NetBSD. See 'How do I get NetBSD'
  696. for instructions on where to find it.
  697.  
  698.  
  699. 6.4.  I cannot su to root
  700.  
  701.  
  702.      If a users should be able to 'su' (switch or substitute
  703. a user) to root, then he must be a member of group wheel.
  704.  
  705.  
  706.  
  707. 6.5.  I have problems with my tape drive.
  708.  
  709.  
  710.      When NetBSD boots, it reports for some tape drives that
  711. the  drive  is  not  supported.  Ignore this message.  It is
  712. particulary dumb that you get this  message  for  CBM's  own
  713. A3070 tape drive.
  714.  
  715.      NetBSD seems to work with everyone's tape drive so far.
  716. Not  that  many  brands  have been tested yet. There are two
  717. regularly occuring problems with the tape drives  and  there
  718. is  a  workaround  for each.  Evenutally, we'll get all this
  719. stuff working right.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. 12                                          FAQ-Amiga-NetBSD
  731.  
  732.  
  733.      Note that there have been some bugfixes for tapedrives,
  734. but  I  don't  know  exactly,  if all the problems below are
  735. already fixed, so I mention them here nevertheless.
  736.  
  737.  
  738.  
  739.  
  740. 6.5.1.  Tapedrive -- Problem 1
  741.  
  742.  
  743.      After I just used btn on the AmigaOS side  to  write  a
  744. tape,  I booted bsd and tar reports some error when I try to
  745. read from the tape drive.
  746.  
  747.      Solution:
  748.  
  749.      NetBSD doesn't issue a SCSI reset command to SCSI  ID's
  750. 4  and  5 - these are assumed to be tape drives, and sending
  751. the reset makes drives like the A3070 make a lot of annoying
  752. reset/rewind  noises.   The  solution  to  the problem is to
  753. either power cycle your tape drive before or  after  bsd  is
  754. booted.   The  problem  goes  away and bsd can then read the
  755. tape.  Note that if the tape is rewinding, you will  get  an
  756. error  trying  to read from it.  Just wait until the tape is
  757. done rewinding and try again.
  758.  
  759.  
  760.  
  761. 6.5.2.  Tapedrive -- Problem 2
  762.  
  763.  
  764.      If I write small files to the tape from NetBSD and  try
  765. to  read them from the AmigaOS side, there doesn't appear to
  766. be anything on the tape.  This may occur in the other direc-
  767. tion, too.
  768.  
  769.      Solution:
  770.  
  771.      If you are using tar to make the tapes,  add  a  fairly
  772. big  file  to  the  end of the tape.  For example, i want to
  773. just put vmunix on tape, so normally, I'd just:
  774.  
  775. tar cvfp tape: vmunix
  776.      What I need to do to workaround the problem is:
  777.  
  778. tar cvfp tape: vmunix rootfs.gz
  779.      And on the bsd side:
  780.  
  781. tar xvfp /dev/rst0 vmunix
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. FAQ-Amiga-NetBSD                                          13
  797.  
  798.  
  799. 6.5.3.  General workaround for tapedrive problems
  800.  
  801.  
  802.      If you cannot get your tapedrive to get  to  work  with
  803. NetBSD,  write  a  new  device driver for your tapedrive, or
  804. wait until someone else does so. As  a  workaround  you  can
  805. write  a tar-file with tar to an unused partition, boot into
  806. AmigaDOS and user dcp or devtofile and back this up. It is a
  807. kludge, but it works.
  808.  
  809.  
  810. 6.6.  What do I need to know about softlinks?
  811.  
  812.  
  813.      A softlink is basically a pointer to  a  file  or  sub-
  814. directory  that redirects normal unix subdir tree processing
  815. to other places.  Let's use some examples to clarify the use
  816. of softlinks.
  817.  
  818.      Above, we talked about building the kernel under netbsd
  819. environment.   Well,  if you had made only a 50M /usr parti-
  820. tion like I did, there is NOT enough room to untar and build
  821. the  bsdsyssrc.tgz  (kernel).   Using softlinks, you can put
  822. the bsdsyssrc stuff on your  /opt  partition  (where  I  put
  823. mine) and fake unix into thinking it is in /usr/src/sys.
  824.  
  825.      Here's how to do it:
  826.  
  827. cd /usr
  828.  
  829. mkdir src
  830.  
  831. cd src
  832.  
  833. ln -s /opt/sys sys
  834.      Now do:
  835.  
  836. ls -laF
  837.      and you will see something like:
  838.  
  839. sys@ -> /opt/sys
  840.  
  841.      Now you can just:
  842.  
  843. cd /opt
  844.  
  845. tar xzvfp /dev/rst0
  846.      and untar the bsdsyssrc there.  It will make a /opt/sys
  847.      for you.  Now if you:
  848.  
  849. cd /usr/src/sys
  850.      you have really done:
  851.  
  852. cd /opt/sys
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. 14                                          FAQ-Amiga-NetBSD
  863.  
  864.  
  865.      Another use for softlinks.  I recommend this, actually.
  866.      I  put  all  my  amiga (CBM) header files on tape, then
  867.      untarred them to /opt/cbm then I made a link:
  868.  
  869. ln -s /opt/cbm /cbm
  870.      Now I can:
  871.  
  872. cd /cbm
  873.      and get to my  headers.   I  also  put  font  files  in
  874.      /cbm/fonts.   For  example,  /cbm/fonts/topaz.c  is the
  875.      output of dumpfont (run that under amigaos) to create a
  876.      topaz  font  for  kernel  compiling.   I  also  have  a
  877.      /cbm/fonts/mach.c for the kernel_font.c.distrib  and  a
  878.      cedfont.c  for  a cedfont I made.  In the kernel source
  879.      tree, I did:
  880.  
  881. cd /usr/src/sys/arch/amiga/dev
  882.  
  883. ln -s /cbm/fonts/topaz.c kernel_font.c
  884.      And when I build the kernel, it uses  topaz.c  to  make
  885.      the font for the console.  Slick? :-)
  886.  
  887.      I hope you get the idea now.  One thing that took me  a
  888. while  to  get  straight is the ORDER of the names on the ln
  889. command line :-) Just remember:
  890.  
  891. ln -s {ORIGINAL} {LINK}
  892.      and alphabetically, ORIGINAL is before LINK  :-)  (Just
  893.      like the cp-command)
  894.  
  895.  
  896.  
  897. 6.7.  I have no uptime-command?
  898.  
  899.  
  900.      Do 'ln -s /usr/bin/w /usr/bin/uptime'
  901.  
  902.  
  903.  
  904. 6.8.  How do I update the header files automatically ?
  905.  
  906.  
  907.      Hubert Feyrer writes:
  908.  
  909.  
  910.      Whenever a new kernel comes out, it's possible for
  911.      some  kernal-structures  to  be  changed.  You can
  912.      install the altered headers by hand, but there's a
  913.      easier  way by using symlinks into the src-tree.
  914.      In      particular,      the      files      under
  915.      /usr/include/machine   and   /usr/include/sys  are
  916.      often altered. To replace those files with the one
  917.      that  came with your latest kernel-sources, simply
  918.      link  /usr/src/sys/sys  to  /usr/include/sys   and
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928. FAQ-Amiga-NetBSD                                          15
  929.  
  930.  
  931.      /usr/src/sys/arch/amiga/include                 to
  932.      /usr/include/machine:    cd  /usr/include  mv  sys
  933.      sys.old    mv    include    include.old    ln   -s
  934.      /usr/src/sys/sys         sys         ln         -s
  935.      /usr/src/sys/arch/amiga/include machine
  936.  
  937.  
  938.  
  939. 6.9.  How do I get a /usr/local?
  940.  
  941.  
  942.      As netbsd comes configured (i.e. after you install it),
  943. some things either don't work right or are just missing.
  944.  
  945.      There  is  no  /usr/local  in  the  distributed  netbsd
  946. distribution.   There SHOULD be a /usr/local, so you have to
  947. create it.  Use the following:
  948.  
  949. mkdir -p /usr/local/man/man1
  950.  
  951. mkdir /usr/local/man/man2
  952.  
  953. mkdir /usr/local/man/man3
  954.  
  955. mkdir /usr/local/man/man4
  956.  
  957. mkdir /usr/local/man/man5
  958.  
  959. mkdir /usr/local/man/man6
  960.  
  961. mkdir /usr/local/man/man7
  962.  
  963. mkdir /usr/local/man/man8
  964.  
  965. mkdir /usr/local/man/cat1
  966.  
  967. mkdir /usr/local/man/cat2
  968.  
  969. mkdir /usr/local/man/cat3
  970.  
  971. mkdir /usr/local/man/cat4
  972.  
  973. mkdir /usr/local/man/cat5
  974.  
  975. mkdir /usr/local/man/cat6
  976.  
  977. mkdir /usr/local/man/cat7
  978.  
  979. mkdir /usr/local/man/cat8
  980.  
  981. mkdir /usr/games
  982.  
  983. mkdir /usr/local/lib
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994. 16                                          FAQ-Amiga-NetBSD
  995.  
  996.  
  997. chmod -r 755 /usr/local
  998.      Once you've  done  this  setup,  you  can  install  new
  999.      packages!
  1000.  
  1001.  
  1002. 6.10.  What packages can I install for BSD to enhance it?
  1003.  
  1004.  
  1005.      Currently,  you  can  install  the  following  software
  1006. packages  under bsd.  The porting job has already been done.
  1007. Just get the tar file and the readme and it  will  give  you
  1008. instructions.  If  you want to use more packages, ftp to one
  1009. of the  NetBSD-current  mirrors  and  get  the  sources  for
  1010. whatever  is availble there. Most of it should compile right
  1011. out of the box, but due to the rapid changes there might  be
  1012. some incompatibilities.
  1013.  
  1014.  
  1015. +     ados.tar.gz - a start for  an  amigados  emulator  for
  1016.      unix/bsd.
  1017.  
  1018.  
  1019. +     anethack.tar.z - nethack ported to netbsd.
  1020.  
  1021.  
  1022. +     ascreen.tar.z - screen, a multisession  program,  that
  1023.      gives  you more than one screen with separate shells on
  1024.      each.
  1025.  
  1026.  
  1027. +     atcsh.tar.z - the tcsh shell ported to NetBSD.
  1028.  
  1029.  
  1030. +     aterm.tar.z - linux's  most  wonderful  term  program,
  1031.      ported to NetBSD.
  1032.       it works like dnet, sortof - only better.  It lets you
  1033.      have
  1034.       multiple remote shells, but  also  lets  you  run  irc
  1035.      clients
  1036.       directly on the netbsd machine.  It also has  ftp  and
  1037.      telnet
  1038.       clients for it so you  can  ftp,  for  example,  right
  1039.      to/from your
  1040.       netbsd harddisk over the internet.  It  also  has  the
  1041.      ability
  1042.       to allow anyone else on internet to telnet in to  your
  1043.      netbsd
  1044.       machine.  (irc, ftp, telnet clients not ported yet).
  1045.  
  1046.  
  1047. +     config.tgz - source to config so you  can  compile  it
  1048.      under netbsd to
  1049.       build your kernels under netbsd.
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. FAQ-Amiga-NetBSD                                          17
  1061.  
  1062.  
  1063. +     grofflibg++bin.tar.gz - gnu roff and libg++.  You need
  1064.      groff to have
  1065.       man  pages  formatted,  and  libg++  to  compile   c++
  1066.      programs.
  1067.  
  1068.  
  1069. +     term107.tar.z - unhacked sources to term107 (aterm) so
  1070.      you can
  1071.       easily compile it on remote  (i.e.  not  your  netbsd)
  1072.      machine.
  1073.  
  1074.  
  1075. +     manpages.tar.z - man pages for sections  2  and  3  of
  1076.      /usr/man.  Library
  1077.       and os calls documented.
  1078.  
  1079.  
  1080. +     bffs1.25.lzh - archive of  the  amiga  bffs  (berkeley
  1081.      file system) tools
  1082.       and  filesystem  handler.   Handler  reads  your   bsd
  1083.      partitions,
  1084.       but  doesn't  write  (according  to  the  docs).    It
  1085.      contains
  1086.       the needed filetodev program for installing netbsd  in
  1087.      the
  1088.       first place.
  1089.  
  1090.  
  1091. +     diff-2.3.tgz - port of gnu diff (needed for RCS)
  1092.  
  1093.  
  1094. +     rcs-5.6.0.1.tgz - port of RCS  (requires  diff-2.3.tgz
  1095.      :-)
  1096.  
  1097.  
  1098. + perl-4.036.tar.gz - port of perl
  1099.  
  1100.  
  1101. + X11R5.*.tar.gz - X11R5 package
  1102.  
  1103.  
  1104. + cat12345678.tar.gz - all man-pages, already formatted.
  1105.  
  1106.  
  1107.  
  1108. 6.11.  How Do I get man pages.
  1109.  
  1110.  
  1111.      The  man-pages  are  currently  in   the   distribution
  1112. directory  of  NetBSD  .  The are called cat*.tar.gz. Please
  1113. get them and install, i.e. gunzip and tar xf,  them  to  the
  1114. appropriate  directory.  Be  warned, they take about 1 MB of
  1115. diskspace.
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. 18                                          FAQ-Amiga-NetBSD
  1127.  
  1128.  
  1129. 6.12.
  1130. How can I modify the kernel to work with my graphic card?
  1131.  
  1132.  
  1133.      mtk says:
  1134.  
  1135.      Ok, from my memory, these files need to be changed:
  1136.  
  1137. +    grfvar.h      add defines for your board  analogue  the
  1138.      others
  1139.  
  1140. +    device.h      add manufacturer/product code
  1141.  
  1142. +    autoconfig.c  add man/prod to switch statement, and set
  1143.      to BITMAP type
  1144.  
  1145. +    write grf_XX.c  and  ite_XX.c,  look  at  the  existing
  1146.      drivers
  1147.                      in general, grf_ should deal  with  the
  1148.      framebuffer as such,
  1149.                      and  ite_   should   care   about   the
  1150.      framebuffer in text-mode,
  1151.                      ie.   drawing   characters,   scrolling
  1152.      lines, etc.
  1153.  
  1154. +    add your board to the  dispatch  tables  in  grf.c  and
  1155.      ite.c
  1156.  
  1157. +    add - if necessary - new grf1 entry to conf/AMIGA
  1158.  
  1159. +    add your new files to conf/files.amiga
  1160.  
  1161. +    reconfig the kernel, make, cross fingers, debug ;-)
  1162.  
  1163.  
  1164. 6.13.  What about X-Windows?
  1165.  
  1166.  
  1167.      I am very proud to announce that X-Windows DOES run  on
  1168. NetBSD-Amiga.   Things  have become accellerated quite a bit
  1169. as more people work on the port of any kind of software!
  1170.  
  1171.  
  1172.      I cite Philippe Brand (PhB@telesys-innov.fr):
  1173.  
  1174.  
  1175.      Port has been done mainly  by  Olivier  Raoul,  my
  1176.      brother          Olivier         &         friends
  1177.      (raoul_o@boson.epita.fr).        Their    internet
  1178.      connection  is broken down for at least one month,
  1179.      so you can send email to NetBSD list or private to
  1180.      me  and  I'll forward them quickly.   All machines
  1181.      should be able to run it, provided you have enough
  1182.      RAM.    As  for  now  standard  custom  chips  are
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. FAQ-Amiga-NetBSD                                          19
  1193.  
  1194.  
  1195.      supported, and they will work on the  support  for
  1196.      the  Retina  card, as soon as they can get hold of
  1197.      one.  X-color  will  be  available  with  standard
  1198.      customs chips as they told me.
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204. 6.14.  What about networking?
  1205.  
  1206.  
  1207.      Ethernetsupport is working perfectly.  FTP  and  telnet
  1208. work both in client- and server-mode, NFS was only testet as
  1209. client with only one  filesystem  mounted  read-only.  Also,
  1210. NetBSD-Amiga has proofed Internet-compatibility in running a
  1211. NNTP-based News-Server for several weeks.
  1212.  
  1213.      If you don't have a Ethernet-card but want  to  connect
  1214. to  a  a  unix-box,  you can do this using SLIP (Serial Line
  1215. Internet Protocol) or PPP (Point to Point Protocol)  over  a
  1216. serial line. This way you can use all TCP/IP services to all
  1217. hosts on you network without any restrictions.
  1218.  
  1219.  
  1220.  
  1221. 6.15.  What about accessing ados-files from NetBSD?
  1222.  
  1223.  
  1224.      Niklas Hallqvist, Email: niklas@appli.se  is  currently
  1225. working  on  a  solution  for  this,  but  his  time is very
  1226. limited. So, if you want to have it fast,  contact  him  and
  1227. help him or do it on your own.
  1228.  
  1229.  
  1230. 6.16.
  1231. Is there a debugger for NetBSD. Is there any? If so, where is it?
  1232.  
  1233.  
  1234.      Andy Heffernan   ahh@netcom.com has ported gdb-4.11  to
  1235. NetBSD. It still contains some minor bugs, but it is already
  1236. useable.
  1237.  
  1238.  
  1239. 6.17.  How do I get /dev/reload and /dev/zero and /dev/par ?
  1240.  
  1241.  
  1242.      As root do:
  1243.  
  1244.              mknod  /dev/reboot   c   2   20           mknod
  1245. /dev/zero c 2 12
  1246.         mknod /dev/par c 11 0
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258. 20                                          FAQ-Amiga-NetBSD
  1259.  
  1260.  
  1261. 6.18.  Does NetBSD run on the 68040?
  1262.  
  1263.  
  1264.      Yes. Michael L. Hitch (osymh@montana.edu) has  made  it
  1265. possible.
  1266.  
  1267.  
  1268. 6.19.  How do I create accounts and change user-information?
  1269.  
  1270.  
  1271.      Use vipw and chpass.
  1272.  
  1273.  
  1274. 6.20.  How do I get a reboot that reboots into NetBSD
  1275.  
  1276.  
  1277.      Do the following:
  1278.    # mv /sbin/reboot /sbin/reboot.amiga
  1279.    # echo "cp /vmunix /dev/reboot" >/sbin/reboot
  1280.  
  1281.         'reboot' reboots NetBSD, 'reboot.amiga' reboots into
  1282. Amiga-DOS.
  1283.  
  1284.  
  1285. 6.21.  How do I get cron to work?
  1286.  
  1287.  
  1288.      Put the crontab-cmd setuid root:
  1289.    # chmod u+s /usr/bin/crontab
  1290.    then start the correct cron-daemon  in  /etc/rc  .replace
  1291. 'cron' by
  1292.    '/usr/libexec/crond'. To create a user's first crontab do
  1293. 'crontab
  1294.    -r /dev/null'.
  1295.  
  1296.  
  1297. 6.22.  How do I get a serial terminal to work correctly?
  1298.  
  1299.  
  1300.      Add the following line in /etc/ttys:
  1301.    tty00 "/usr/libexec/getty std.19200" vt100 on secure
  1302.    Other values for speed can be looked up in /etc/gettytab
  1303.  
  1304.  
  1305.  
  1306. 6.23.         Does NetBSD work with my retina and my noname-
  1307. monitor?
  1308.  
  1309.  
  1310.      NetBSD opens  a  ~800x600  screen  with  ~75Hz  on  the
  1311. retina, if present.  Some monitors are not able to display a
  1312. screen with such a high diplay-rate. So, for your  on  sake,
  1313. set _retina_default_mon to 0 before starting NetBSD.
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. FAQ-Amiga-NetBSD                                          21
  1325.  
  1326.  
  1327. 6.24.  How can I access Floppies from NetBSD?
  1328.  
  1329.  
  1330.      Currently it is not possible to read or write  floppies
  1331. from  NetBSD.  A floppy-driver is being worked on, but it is
  1332. not complete yet.
  1333.  
  1334.  
  1335.  
  1336.  
  1337. 6.25.  Can I run NetBSD with my IDE-drive?
  1338.  
  1339.  
  1340.      Currently you are not able to run NetBSD with  an  IDE-
  1341. drive.  You need an IDE device-driver, which is able to talk
  1342. to an IDE-drive. Up to now, nobody volunteered to write one,
  1343. so if you want to do so, please go ahead.
  1344.  
  1345.  
  1346. 6.26.  What Projects are being worked on?
  1347.  
  1348.  
  1349.      See the  file  "projects"  for  more  information.  See
  1350. question "How do I get NetBSD" for how to obtain this file.
  1351.  
  1352.  
  1353.  
  1354. 6.27.  Is there a Mailing-list?
  1355.  
  1356.  
  1357.      Yes. The list structure for NetBSD on the Amiga:
  1358.  
  1359.      NetBSD-Amiga -  This is the  main  list  that  contains
  1360. helpful   information  on                  installation  and
  1361. general   questions   about    NetBSD    on    the    Amiga.
  1362.                 New    kernel    versions    and    binaries
  1363. announcements will appear in                 this  list.   A
  1364. Frequently     Asked     Questions     will     be    posted
  1365.                 bi-weekly to monthly.
  1366.  
  1367.      NetBSD-X     -  This is the list for  installation  and
  1368. development   specifically                   geared  towards
  1369. running X under NetBSD on the Amiga.
  1370.  
  1371.      NetBSD-Dev   -  This is the list for  specifically  for
  1372. kernel hackers.
  1373.  
  1374.      How to get on (or off of) the lists:
  1375.  
  1376.              To:        NetBSD-Request@cbmuucp.commodore.com
  1377.         Subject: SUBSCRIBE NETBSD
  1378.  
  1379.      Allow a couple of days for the  transaction  to  occur.
  1380. If  after  a  few  days  nothing  happens,  then  resend the
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. 22                                          FAQ-Amiga-NetBSD
  1391.  
  1392.  
  1393. request.
  1394.  
  1395.      Some acceptable subjects:
  1396.  
  1397.              SUBSCRIBE  X   -  this  will  get  you  on  the
  1398. NetBSD-X  list.           UNSUBSCRIBE NETBSD-DEV - this will
  1399. remove you from the NetBSD-Dev  list.           SUBSCRIBE  -
  1400. this will get you on the NetBSD-Amiga list (the default).
  1401.  
  1402.      Acceptable aliases:
  1403.  
  1404.              admin:                                  netbsd-
  1405. admin@cbmuucp.commodore.com                          netbsd-
  1406. request@cbmuucp.commodore.com
  1407.                 billc@iceCuBE.rain.com
  1408.  
  1409.              X         list:                         netbsd-
  1410. x@cbmuucp.commodore.com
  1411.                 x@cbmuucp.commodore.com                  Dev
  1412. list:                       netbsd-dev@cbmuucp.commodore.com
  1413.                 dev@cbmuucp.commodore.com
  1414.         NetBSD         list:                         netbsd-
  1415. amiga@cbmuucp.commodore.com
  1416.                 netbsd@cbmuucp.commodore.com
  1417.  
  1418.      Past postings:
  1419.  
  1420.      Past postings to any of the  groups  are  not  archived
  1421. here. However, you can find an archive from the NetBSD-Amiga
  1422. list          on          ftp.uni-regensburg.de:/pub/NetBSD-
  1423. Amiga/DOCS/Mailinglist-Archive.  This directory contains all
  1424. mails from the NetBSD-Amiga mailing-list, all mails  of  one
  1425. month  go into one file. The .Subject-files contain only the
  1426. subject-lines of the corresponding month.
  1427.  
  1428. You can read the files using your favourite  email-frontend.
  1429. Just    copy   the   file   to   /var/spool/mail/$USER   (or
  1430. /var/mail/$USER,  or  whatever)  and  start  elm,  emacs  or
  1431. anything else.
  1432.  
  1433.      Policy:
  1434.  
  1435.      Commodore Business  Machines,  Commodore  International
  1436. Limited,  or  any  of  it  subsideraries  neither cares, nor
  1437. endorses this mailing list, the NetBSD project on the Amiga,
  1438. or  anything  affiliated  with  this  project (muchless even
  1439. knows what NetBSD is, or what a mailing list  is,  for  that
  1440. matter).  They are just nice enough to allocate some CPU and
  1441. disk space for us, for which we are virtually grateful (just
  1442. nod your head and smile, like when some is talking to you in
  1443. a foreign language and you have no translator near).
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456. FAQ-Amiga-NetBSD                                          23
  1457.  
  1458.  
  1459. 6.28.  Is there a Newsgroup for NetBSD?
  1460.  
  1461.  
  1462.      Yes and no. There is no NetBSD specific Newsgroup,  but
  1463. most  the Newsgroup comp.unix.amiga is the one with the most
  1464. NetBSD-Amiga related postings.  You may  also  subscribe  to
  1465. comp.os.386bsd.{announce,  development,  apps,  bugs,  misc,
  1466. questions}.  Although   NetBSD-Amiga   is   not   completely
  1467. reintegrated  into  the source tree, work is underway. So if
  1468. you have  general  NetBSD  questions,  the  above  mentioned
  1469. newsgroups  are  fine.  If you think that your questions are
  1470. more Amiga specific, please use the Amiga-newsgroup.
  1471.  
  1472.  
  1473. 6.29.  How can I autoboot into multi-user mode?
  1474.  
  1475.  
  1476.      Eduardo Horvath (eeh@public.btr.com) writes
  1477.  
  1478.  
  1479.      Now for the technical stuff.  The  boot  parameter
  1480.      is  passed  to  the  kernel  in d7 (the way the HP
  1481.      seems to have done  it.)   The  new  loadbsd  will
  1482.      default  to  single  user booting.  If you specify
  1483.      the -a flag (ala DECstations), loadbsd  will  tell
  1484.      the  kernel  to  autoboot.   Older  kernels simply
  1485.      ignore this parameter.   new loadbsd usage:
  1486.        -a    boot up to multiuser mode.
  1487.        -b    ask for which root device [I have roots on
  1488.      3 different disks at times].
  1489.        -k    reserve the first 4M of fast mem [Some one
  1490.      else is going to have to         answer that it is
  1491.      used for].
  1492.        -p    Currently not used - it's to specify  that
  1493.      the  highest  priority fastmem         segement is
  1494.      to be used  for  NetBSD  instead  of  the  largest
  1495.      segment.   The          higher priority segment is
  1496.      usually  faster  (i.e.   32   bit   memory),   but
  1497.              some people have smaller amounts of 32 bit
  1498.      memory.
  1499.        -t    This is a "test" option.   It  prints  out
  1500.      the  memory  list information         being passed
  1501.      to the kernel  and  also  exits  without  actually
  1502.      starting         NetBSD.
  1503.  
  1504.  
  1505.  
  1506. 6.30.  ps does not work on my system.
  1507.  
  1508.  
  1509.      The file /vmunix has to be the same like the kernel you
  1510. are  running.   Just  copy  your  the  kernel you started to
  1511. /vmunix.
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522. 24                                          FAQ-Amiga-NetBSD
  1523.  
  1524.  
  1525. 6.31.  NetBSD on non A3000 machines.
  1526.  
  1527.  
  1528.      When you try to run NetBSD on a new machine with a  new
  1529. configuration other than an A3000, then have a close look at
  1530. the is_a3000() function. Currently this function  detremines
  1531. if  NetBSD is running on an A3000 in a very kludgy way. This
  1532. is a matter of change in the future, but  we  have  to  live
  1533. with it today.
  1534.  
  1535.  
  1536. 6.32.  NetBSD does not use all my memory.
  1537.  
  1538.  
  1539.      Currently NetBSD only uses the largest chunk  of  Fast-
  1540. Memory  it  can  find  on  boot-up. This might change in the
  1541. future, but today there is no workaround for this.
  1542.  
  1543.      If your memory is continuous, but  NetBSD  doesn't  use
  1544. all of it, use the following trick from Chriss Hopps:
  1545.  
  1546.  
  1547.      Everyone does know about mergemem  from  workbench
  1548.      1.3  right?   If  your memory is contigous but not
  1549.      merged into a single memlist netbsd  doesn't  seem
  1550.      to  think  its  contiguous  (bogus).   You can run
  1551.      Mergemem  (Sys:system/mergemem)  and  like   magic
  1552.      netbsd will use the extra ram I am currently doing
  1553.      this  with  4  M  32  on  a  2630,  2M  on  a  gvp
  1554.      csontroller and 2M on a supra 8M board.
  1555.  
  1556.  
  1557.  
  1558.  
  1559. 6.33.  NetBSD asks me root device?
  1560.  
  1561.  
  1562.      You have got an old version of loadbsd!  Please  get  a
  1563. new  one.  It's  in  the bin directory. vmunix-644 and later
  1564. won't load correctly with the old one.
  1565.  
  1566.  
  1567.  
  1568.  
  1569. 6.34.  Where can I find ixemul.version >= 39.46?
  1570.  
  1571.  
  1572.      If loadbsd starts with opening a requester  asking  you
  1573. for  a  version of the ixemul.library, it ok to continue and
  1574. boot with Version 39.45.  mtk says:
  1575.  
  1576.      No  problem  running  it  with  r45.  r46   is   a
  1577.      networking version, I think I only released r47 in
  1578.      the networking package.
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. FAQ-Amiga-NetBSD                                          25
  1589.  
  1590.  
  1591. 6.35.  How do I report bugs?
  1592.  
  1593.  
  1594.      If you encountered a bug, before  reporting  this  bug,
  1595. please  get  sure  it  is  really  a  bug  and  not your own
  1596. mistake/misusage. If you need help, write  to  the  mailing-
  1597. list  or  post  your  question/bug-report to the appropriate
  1598. newsgroups (see "Is there a newsgroup for NetBSD").  If  you
  1599. report  a  bur,  please  try  to give as much information as
  1600. possible.  This includes your configuration and  the  output
  1601. you got.
  1602.  
  1603.  
  1604. 6.36.  Why does NetBSD not change my clock?
  1605.  
  1606.  
  1607.      At the moment NetBSD  is  able  to  read  the  internal
  1608. clock,  but  it  is not possible to write to this clock. You
  1609. can set the clock on  the  AmigaDos  side  and  NetBSD  will
  1610. recognize  the change. It should not be too difficult to add
  1611. this functionality to NetBSD, but up to now, nobody did it.
  1612.  
  1613.  
  1614. 6.37.  Why does vi tell me he cannot read /etc/termcap ?
  1615.  
  1616.  
  1617.      This is a bug in  the  termcap-library.  It  looks  for
  1618. /usr/share/misc/termcap,  but if it can't find this it says,
  1619. that that it can't read /etc/termcap. Move the emacs-termcap
  1620. to    /etc/termcap   and   make   a   symbolic   link   from
  1621. /usr/share/misc/termcap to /etc/termcap.
  1622.  
  1623.  
  1624. 6.38.  How can I change the console to autowrap?
  1625.  
  1626.  
  1627.      Use echo -n "^[[?7h". If you  compile  the  kernel  for
  1628. yourself,  you  can change the auto-wrap-default in ite.c to
  1629. 1.
  1630.  
  1631.  
  1632. 6.39.  NetBSD will not boot into multi-user-mode
  1633.  
  1634.  
  1635.      If NetBSD hangs  when  you  are  trying  to  boot  into
  1636. multiuser-mode,  check  if you removed the named in /etc/rc.
  1637. named causes the machine to hang, if you are  not  connected
  1638. to the internet.
  1639.  
  1640.  
  1641.  
  1642. 6.40.  How do I use binpatch?
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. 26                                          FAQ-Amiga-NetBSD
  1655.  
  1656.  
  1657.      binpatch is a small utility to  patch  the  kernel.  It
  1658. uses  the  bugging  information to locate the variables. So,
  1659. for example, if your drive is not able to be  run  in  sync-
  1660. mode,  you  can  disable  the sync-mode by using binpatch as
  1661. follows:
  1662.  
  1663.      Assuming the hd is on ID5 :
  1664.  
  1665.        # binpatch -s _inhibit_sync vmunix  (get  address  of
  1666. _inhibit_sync)
  1667.   _inhibit_sync(0x12345): 0 (0x0)      (replace  0x12345  by
  1668. real value from now on)
  1669.   {Addr=0x12345+Unit (==5)==0x1234a}
  1670.   # binpatch -b -a 0x1234a -r 1       (replace 0x1234a  with
  1671. calculated value)
  1672.  
  1673.      This inhibits sync-handshake on unit 5.
  1674.  
  1675.      The options of binpatch are:
  1676.  
  1677.      -s              search for an address of a variable
  1678.  
  1679.      -a <address>    specify the address you want to patch
  1680.  
  1681.      -b              patch only a byte value
  1682.  
  1683.      -w              patch a word value (2 bytes)
  1684.  
  1685.      -l              patch a long word value (4 bytes)
  1686.  
  1687.      -r              the value to replace the old value
  1688.  
  1689.  
  1690.      Another example from mtk:
  1691.  
  1692.  
  1693.       Remark to Retina-owners with monitors that  don't
  1694.      grok  the default video-mode opened by BSD, you're
  1695.      now able to binpatch this to an inferior mode:
  1696.  
  1697.        binpatch -s _retina_default_mon -r 1  will  give
  1698.      you 640x512 with 31.5kHz and
  1699.        binpatch -s _retina_default_mon -r 2  will  give
  1700.      you  768x600  with  38kHz   -r 3 is the default at
  1701.      64kHz.
  1702.  
  1703.  
  1704.  
  1705. 6.41.
  1706. NetBSD tells me: init FATAL error: console: Interrupted system call
  1707.  
  1708.  
  1709.      You forgot to install libexec/getty.
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. FAQ-Amiga-NetBSD                                          27
  1721.  
  1722.  
  1723. 6.42.  How do I get a Meta-Key for Emacs ?
  1724.  
  1725.  
  1726.      According to mtk, enter 'stty cs8 -istrip -parenb'  and
  1727. use any Amiga-key as meta-key.
  1728.  
  1729.  
  1730. 6.43.  How do I get a german keymap?
  1731.  
  1732.  
  1733.      Starting  from  644  the  distribution   contains   (in
  1734. sys/arch/amiga/stand/loadkmap)  a  prog  to  do  just  this.
  1735. Compile it, generate the german keymap and user loadkmap  to
  1736. get a german keymap:
  1737.  
  1738.        bin-kbdmap >din
  1739.   loadkmap din
  1740.  
  1741.  
  1742.  
  1743. 6.44.  How do I get dmesg to work?
  1744.  
  1745.   chmod u+s /usr/sbin/dmesg
  1746.  
  1747.  
  1748. 6.45.  ioctl (GDINFO): invalid argument. What is wrong?
  1749.  
  1750.  
  1751.         Starting  with  version  713  support  for   Non-BSD
  1752. partitions was added.  This
  1753.    meant that pre-713  binaries  of  programs  depending  on
  1754. sizeof (struct
  1755.    disklabel) got obsolete.  Specifically  newfs,  mount_mfs
  1756. (which is a link
  1757.    to newfs)  and  disklabel  didn't  work  anymore.   Newer
  1758. versions of these
  1759.    can be gotten from ftp.eunet.ch, either in bin-newest  or
  1760. in bin-sbin.tar.gz
  1761.    if it's newer than Nov 22 1993.  If you've  compiled  the
  1762. thing yourself,
  1763.    recompile it making sure that you use a post-713  version
  1764. of sys/disklabel.h
  1765.    which  can  be  found  either  in  a  recent   (post-713)
  1766. bsdsyssrc.xxx.tar.gz
  1767.    archive or a post-713 release of bin-usr.include.tar.gz.
  1768.  
  1769.  
  1770. 6.46.  What is /bin-newest for?
  1771.  
  1772.  
  1773.      This directory contains the  latest  versions  of  some
  1774. programs.  If a program does not work as expected, look into
  1775. this directory to see, if someone has put up a later version
  1776. into  it,  than  the  one  you are using. This directory was
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. 28                                          FAQ-Amiga-NetBSD
  1787.  
  1788.  
  1789. created to remove to need to update  bin-distribution  every
  1790. time a binary has changed.
  1791.  
  1792.  
  1793. 6.47.  How to set up SLIP?
  1794.  
  1795.  
  1796.  
  1797.      1       Dialup  (and  maybe  login  to)  a  SLIP   port
  1798.         (kermit is a good way to do this).
  1799.  
  1800.      2       slattach -a -h -s 38400 //dev/tty00
  1801.  
  1802.      3       ifconfig sl0 LOCAL-IP-ADDR REMOTE-IP-ADDR  -arp
  1803. -trailers up
  1804.  
  1805.      4       route add 0.0.0.0 REMOTE-IP-ADDR
  1806.  
  1807.  
  1808.  
  1809.  
  1810.      Well, here are the steps I  used  to  get  it  running.
  1811. First  let  me  state  that the terminal server I dial-in to
  1812. haas support for SLIP, so I only need to connect to  it  and
  1813. tell  it  I  want  a  SLIP  connection.  Others  may have to
  1814. actually login and start SLIP on  the  login  session.  Also
  1815. because  of  this connection method my IP address can change
  1816. each time.
  1817.  
  1818.      1. Edit /etc/netstart to turn off the servers you won't
  1819. use,  but leave         routed on. Setup /etc/hosts for your
  1820. node and any others and          make  sure  "hostname"  and
  1821. "domainname" reflect the proper things.
  1822.  
  1823.      2.  Run  kermit  to  connect  to   the   remote   node:
  1824.         set  modem none  (I use this to keep the line alive)
  1825.         set line /dev/tty00          set  speed  38400 (This
  1826. may   depend  on  your  modem)                          (Can
  1827. NetBSD  support   57.6Kbaud?)           set   flow   rts/cts
  1828.         dial  ###          connect          <Do what ever to
  1829. get SLIP running remotely>         Cntrl-\ Q       (Kill off
  1830. Kermit, leaving line up)
  1831.  
  1832.      3. Start up the local SLIP service:         slattach -a
  1833. -h -s 38400 /dev/tty00
  1834.  
  1835.      4. Enable the network connection:         ifconfig  sl0
  1836. inet <local IP addr> <remote IP addr> -arp -trailers up
  1837.  
  1838.      5. Turn on routing:         route add  0.0.0.0  <remote
  1839. IP addr>
  1840.  
  1841.              I tried to setup  routing  information  int  he
  1842. /etc/gateways  file, but         routed seemed to ignore it.
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852. FAQ-Amiga-NetBSD                                          29
  1853.  
  1854.  
  1855. Anyone know more details on how this         should be  done
  1856. or if routed supports the file?          I also tried to use
  1857. "default" in place of "0.0.0.0" in the route         comand,
  1858. but  it  does  not understand that syntax. I got that syntax
  1859.         from SUNOS 4.1 manuals and AmiTCP setup.
  1860.  
  1861.      6. To avoid adding everything to your /etc/hosts  file,
  1862. turn  on  DNS access         if you have it avialable on the
  1863. remote  end.  Do  this  by  creating  or          copying  a
  1864. /etc/resolv.config file from the reomte network.
  1865.  
  1866.      Now all I need is to build ftptool on  the  NetBSD  end
  1867. and I can start downloading software directly to my Amiga :)
  1868.  
  1869.  
  1870.  
  1871.  
  1872. 6.48.  Can I read a sun tape data cartidge?
  1873.  
  1874.  
  1875.  
  1876.      The original sun Archive tape  drive,  will  read/write
  1877. both
  1878.    QIC-11,QIC-24 format. To maximize you chances of  reading
  1879. the
  1880.    tape from your tape drive use the QIC-24 format. How?  Do
  1881. a :
  1882.              tar -cvf /dev/rts8
  1883.    will create a QIC-24 formatted tape.
  1884.  
  1885.  
  1886. 6.49.  What if my tape drive on the sun is a Archive Viper?
  1887.  
  1888.  
  1889.  
  1890.      Though the hardware of a 'Archive Viper' is capable  of
  1891. reading/writing
  1892.    multiple tape formats, sun only supports  on  format  for
  1893. writing, QIC-150.
  1894.    So using  /dev/rts0,  /dev/rst8,  /dev/rst16,  /dev/rst24
  1895. will all produce
  1896.    a QIC-150 formatted tape.
  1897.  
  1898.  
  1899. 6.50.  How can I tell what type of tape drive my sun has?
  1900.  
  1901.  
  1902.      You don't, just use /dev/rst8 for  all  data  cartridge
  1903. systems. Note if it
  1904.    isn't a 8mm tape or a 4mm tape then it probably is a Data
  1905. Cartridge.
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918. 30                                          FAQ-Amiga-NetBSD
  1919.  
  1920.  
  1921. 6.51.
  1922. How can I find the major and minor numbers for devices?
  1923.  
  1924.  
  1925.      Simply look into sys/arch/amiga/amiga/conf.c  There  is
  1926. an  array  organized by major device numbers. Minors are the
  1927. unit numbers.
  1928.  
  1929.  
  1930. 6.52.  Does NetBSD run with the PROTO-Chip?
  1931.  
  1932.  
  1933.      Yes. The ONLY problem which may  occure  is  that  some
  1934. drives (!) do not like to be enabled to the sync mode, which
  1935. the PROTO does not handle properly. Again: this  depends  on
  1936. the drives you are using, and the kludges in the kernel.
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. FAQ-Amiga-NetBSD                                          31
  1985.  
  1986.  
  1987. 7.  What went wrong with the latest distribution?
  1988.  
  1989.  
  1990.  
  1991.  
  1992. 7.1.  libc got crippled
  1993.  
  1994.  
  1995.      A part of libc got crippled,  so  all  programs  linked
  1996. with  this  part  do not function properly. This affects the
  1997. regular expression matching.
  1998.  
  1999.  
  2000.  
  2001. 7.1.1.  sed
  2002.  
  2003.  
  2004.      Neither of the distributed sed does not work  properly.
  2005. Get  gnu-sed-2.03  and use the sed in usr gnu to built it or
  2006. rebuilt libc.
  2007.  
  2008.  
  2009. 7.1.2.  expr
  2010.  
  2011.  
  2012.      expr does not work properly and there is no  workaround
  2013. for  it,  other than building a new libc and then rebuilding
  2014. expr.
  2015.  
  2016.  
  2017. 7.2.  gcc
  2018.  
  2019.  
  2020.      Most of the headerfiles generated in  /usr/gnu/lib/gcc-
  2021. lib/netbsdamiga/2.5.6/include are bogus.
  2022.  
  2023.      Remove all the files *EXCEPT* the following  (at  least
  2024. that's what mtk did after discovering the problem):
  2025.  
  2026.      total 50 -rw-r--r--  1 root   10    495  Dec   8  19:26
  2027. README  -rw-r--r--   1  root   10  3719 Dec  8 22:08 float.h
  2028. -rw-r--r--  1 root  10  2922 Dec  8 19:26  limits.h  -rw-r--
  2029. r--   1  root  10  9573 Dec  8 19:30 math-68881.h -rw-r--r--
  2030. 1 root  10  5394 Dec  8 19:25 math.h drwxr-xr-x  2 root   10
  2031. 512 Dec  8 19:31 objc
  2032.  
  2033.  
  2034. 7.3.  rootfs_720
  2035.  
  2036.  
  2037.      Make a symbolic link  from  /usr/share/misc/termcap  to
  2038. /etc/termcap.   This   gets  vi  and  more  working  without
  2039. complaining.
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050. 32                                          FAQ-Amiga-NetBSD
  2051.  
  2052.  
  2053.      A few binaries are not stripped in /bin and /sbin. This
  2054. is not really a bug, but consumes a bit of hd-space. To save
  2055. even more space remove /bin/sh and make  a  hard  link  from
  2056. /bin/bash  to  sh. Both files are identical in this release,
  2057. anyway.
  2058.  
  2059.      So, to sum up:
  2060.  
  2061.      cd /bin exec csh strip bash rm sh ln -f bash  sh  strip
  2062. less strip ash strip red
  2063.  
  2064.      cd /sbin strip chown strip ldconfig exec bash
  2065.  
  2066.  
  2067.  
  2068. 7.4.  Recompiling the kernel
  2069.  
  2070.  
  2071.      I found some odd things in  building  the  kernel  that
  2072. I'll pass on for other first time builders:
  2073.  
  2074.              - make sure the /lib/cpp link  is  right.  Mine
  2075. pointed to the wrong           gcc version.
  2076.  
  2077.              - I had two config programs on my  system.  One
  2078. in  /usr/sbin  which             didn't work but was used by
  2079. default from the path. The other           was in /usr/share
  2080. and it worked.
  2081.  
  2082.              -  I  had  to  change  the   ENTRY   macro   in
  2083. sys/lib/libkern/amiga/DEFS.h                 to   be   from:
  2084.                 .globl /**/x; .even; _/**/x:             to:
  2085.                 .globl  ##x;  .even; _##x##:           and I
  2086. had to copy it into sys/lib/libkern/m68k
  2087.  
  2088.              - I had to copy fpspnull.s to fpsp.s
  2089.  
  2090.              - I had to make  .s  versions  of  strncmp  and
  2091. strncpy  using  gcc  -S             on  the  c  versions  in
  2092. sys/lib/libkern
  2093.  
  2094.  
  2095. 7.5.  Loading the kernel
  2096.  
  2097.  
  2098.      Please use the latest loadbsd.730 to  load  kernels  >=
  2099. 720.   This   avoids   some  problems  you  might  encounter
  2100. otherwise.
  2101.  
  2102.      If  the  kernel   doesn't   boot,   try   binpatch   -s
  2103. _ite_default_height  -r  400 [kernel name]. You can also use
  2104. 200 instead of 400.
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116. FAQ-Amiga-NetBSD                                          33
  2117.  
  2118.  
  2119. 7.6.  Console bug
  2120.  
  2121.  
  2122.      The current console has a bug, which shows  when  using
  2123. man.
  2124.  
  2125.      Please do the following binpatch:
  2126.  
  2127.      binpatch _kernel_font_baseline -b -r 6 [kernel name]
  2128.  
  2129.  
  2130. 7.7.  panic: cannot mount root
  2131.  
  2132.  
  2133.      Generally there seem to be 2 standard possibilities:
  2134.  
  2135.      (1)     Your scsi  controler  cannot  dma  to  the  mmu
  2136. memory.            Solution:  binpatch  _scsi_no_dma  to  1.
  2137. (2)     You did not install the rootfs  to  the  appropriate
  2138. block.           Solution: binpatch _sddebug to 1. This will
  2139. output you, where         NetBSD looks for the rootfs. Write
  2140. down  this  number  and  filetodev         the rootfs to the
  2141. proper position.
  2142.         (Be sure to have reserved blocks = 0.
  2143.         hdtoolbox  sometimes  doesn't  change   this   value
  2144. correct)
  2145.  
  2146.  
  2147.      For me none of the two worked. Michael L.  Hitch  seems
  2148. to  have  found  the problem as beeing something of 16 vs 32
  2149. bit word access problem of my '030. But I'd suggest, you try
  2150. the first 2 ways before going more into this.
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182. FAQ-Amiga-NetBSD                                           i
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.                      Table of Contents
  2189.  
  2190.  
  2191.  
  2192.  
  2193. 1       Introduction ..................................    3
  2194.  
  2195. 2       General things ................................    4
  2196.  
  2197. 2.1      The name of the game: What is NetBSD? ........    4
  2198.  
  2199. 2.2      Who is working on the port? ..................    4
  2200.  
  2201. 3       What do I need to run NetBSD ..................    5
  2202.  
  2203. 3.1      What kind of Amigas will it run on? ..........    5
  2204.  
  2205. 3.1.1    Which cpu is needed? .........................    5
  2206.  
  2207. 3.1.2    How much memory do I need? ...................    6
  2208.  
  2209. 3.1.3    How much diskspace do I need? ................    6
  2210.  
  2211. 3.1.4    What other hardware requirements are there?
  2212.  
  2213. 4       What about building the kernel myself? ........    8
  2214.  
  2215. 5       NetBSD - Linux - Amiga-Unix - Minix ...........    9
  2216.  
  2217. 6       Frequently Asked Questions and their answers
  2218.  
  2219. 6.1      How do I get NetBSD? .........................   11
  2220.  
  2221. 6.2      How do I install it? .........................   11
  2222.  
  2223. 6.3      Does NetBSD support my device? ...............   11
  2224.  
  2225. 6.4      I cannot su to root ..........................   11
  2226.  
  2227. 6.5      I have problems with my tape drive.   ........   11
  2228.  
  2229. 6.5.1    Tapedrive -- Problem 1 .......................   12
  2230.  
  2231. 6.5.2    Tapedrive -- Problem 2 .......................   12
  2232.  
  2233. 6.5.3    General workaround for tapedrive problems
  2234.  
  2235. 6.6      What do I need to know about softlinks? ......   13
  2236.  
  2237. 6.7      I have no uptime-command? ....................   14
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248. ii                                          FAQ-Amiga-NetBSD
  2249.  
  2250.  
  2251. 6.8
  2252. How do I update the header files automatically ? ......   14
  2253.  
  2254. 6.9      How do I get a /usr/local? ...................   15
  2255.  
  2256. 6.10
  2257. What packages can I install for BSD to enhance it?
  2258.  
  2259. 6.11      How Do I get man pages. .....................   17
  2260.  
  2261. 6.12
  2262. How can I modify the kernel to work with my graphic card?
  2263.  
  2264. 6.13      What about X-Windows? .......................   18
  2265.  
  2266. 6.14      What about networking? ......................   19
  2267.  
  2268. 6.15      What about accessing ados-
  2269. files from NetBSD? ....................................   19
  2270.  
  2271. 6.16
  2272. Is there a debugger for NetBSD. Is there any? If so, where is it?
  2273.  
  2274. 6.17
  2275. How do I get /dev/reload and /dev/zero and /dev/par ?
  2276.  
  2277. 6.18      Does NetBSD run on the 68040? ...............   20
  2278.  
  2279. 6.19      How do I create accounts and change user-
  2280. information? ..........................................   20
  2281.  
  2282. 6.20
  2283. How do I get a reboot that reboots into NetBSD ........   20
  2284.  
  2285. 6.21      How do I get cron to work? ..................   20
  2286.  
  2287. 6.22
  2288. How do I get a serial terminal to work correctly? .....   20
  2289.  
  2290. 6.23
  2291. Does NetBSD work with my retina and my noname-
  2292. monitor? ..............................................   20
  2293.  
  2294. 6.24      How can I access Floppies from NetBSD? ......   21
  2295.  
  2296. 6.25      Can I run NetBSD with my IDE-drive? .........   21
  2297.  
  2298. 6.26      What Projects are being worked on? ..........   21
  2299.  
  2300. 6.27      Is there a Mailing-list? ....................   21
  2301.  
  2302. 6.28      Is there a Newsgroup for NetBSD? ............   23
  2303.  
  2304. 6.29      How can I autoboot into multi-user mode?
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314. FAQ-Amiga-NetBSD                                         iii
  2315.  
  2316.  
  2317. 6.30      ps does not work on my system. ..............   23
  2318.  
  2319. 6.31      NetBSD on non A3000 machines. ...............   24
  2320.  
  2321. 6.32      NetBSD does not use all my memory. ..........   24
  2322.  
  2323. 6.33      NetBSD asks me root device?  ................   24
  2324.  
  2325. 6.34      Where can I find ixemul.version >= 39.46?
  2326.  
  2327. 6.35      How do I report bugs? .......................   25
  2328.  
  2329. 6.36      Why does NetBSD not change my clock? ........   25
  2330.  
  2331. 6.37
  2332. Why does vi tell me he cannot read /etc/termcap ? .....   25
  2333.  
  2334. 6.38      How can I change the console to autowrap?
  2335.  
  2336. 6.39      NetBSD will not boot into multi-user-mode
  2337.  
  2338. 6.40      How do I use binpatch? ......................   25
  2339.  
  2340. 6.41
  2341. NetBSD tells me: init FATAL error: console: Interrupted system call
  2342.  
  2343. 6.42      How do I get a Meta-Key for Emacs ? .........   27
  2344.  
  2345. 6.43      How do I get a german keymap? ...............   27
  2346.  
  2347. 6.44      How do I get dmesg to work? .................   27
  2348.  
  2349. 6.45
  2350. ioctl (GDINFO): invalid argument. What is wrong? ......   27
  2351.  
  2352. 6.46      What is /bin-newest for? ....................   27
  2353.  
  2354. 6.47      How to set up SLIP? .........................   28
  2355.  
  2356. 6.48      Can I read a sun tape data cartidge? ........   29
  2357.  
  2358. 6.49
  2359. What if my tape drive on the sun is a Archive Viper?
  2360.  
  2361. 6.50
  2362. How can I tell what type of tape drive my sun has?
  2363.  
  2364. 6.51
  2365. How can I find the major and minor numbers for devices?
  2366.  
  2367. 6.52      Does NetBSD run with the PROTO-Chip? ........   30
  2368.  
  2369. 7       What went wrong with the latest distribution?
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380. iv                                          FAQ-Amiga-NetBSD
  2381.  
  2382.  
  2383. 7.1      libc got crippled ............................   31
  2384.  
  2385. 7.1.1    sed ..........................................   31
  2386.  
  2387. 7.1.2    expr .........................................   31
  2388.  
  2389. 7.2      gcc ..........................................   31
  2390.  
  2391. 7.3      rootfs_720 ...................................   31
  2392.  
  2393. 7.4      Recompiling the kernel .......................   32
  2394.  
  2395. 7.5      Loading the kernel ...........................   32
  2396.  
  2397. 7.6      Console bug ..................................   33
  2398.  
  2399. 7.7      panic: cannot mount root .....................   33
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.